<template>
  <div class="app-container">
    wait...
    <!-- <HlForm :config="formConfig" /> -->
  </div>
</template>

<script>
// import HlForm from '@/components/HlForm'
// import HlConfirm from '@/components/HlConfirm'
export default {
  components: {
    // HlForm
    // HlConfirm
  },
  data() {
    return {
      formConfig: {
        formObj: {
          input: '',
          textarea: '',
          select: '',
          datePicker: '',
          timePicker: '',
          dateTimePicker: '',
          switch: false,
          radio: '',
          checkbox: []
        },
        formList: [
          { type: 'input', label: 'input', prop: 'input', span: 12 },
          { type: 'textarea', label: 'textarea', prop: 'textarea', span: 12 },
          { type: 'select', label: 'select', prop: 'select',
            options: [
              {
                label: 'options1',
                value: '1'
              }, {
                label: 'options2',
                value: '2'
              }
            ],
            span: 12
          },
          { type: 'datePicker', label: 'datePicker', prop: 'datePicker', span: 12 },
          { type: 'timePicker', label: 'timePicker', prop: 'timePicker', span: 12 },
          { type: 'dateTimePicker', label: 'dateTimePicker', prop: 'dateTimePicker', span: 12 },
          { type: 'switch', label: 'switch', prop: 'switch', span: 12 },
          { type: 'radio', label: 'radio', prop: 'radio',
            options: [
              {
                label: 'options1',
                value: '1'
              }, {
                label: 'options2',
                value: '2'
              }
            ],
            span: 12
          },
          { type: 'checkbox', label: 'checkbox', prop: 'checkbox',
            options: [
              {
                label: 'options1',
                value: '1'
              }, {
                label: 'options2',
                value: '2'
              }
            ],
            span: 12
          }
        ]
      }
    }
  }
}
</script>
